OverView Index Help                                                                WebNMS Agent Toolkit C Edition 6 

tl1rsrcsecurityInfo.c
This file contains methods for accessing operation security veiw data.
Return Type Method Summary
CHAR AddDefaultOprEntry()
             Creates a default opr entry.
CHAR CreateAndAddNewOprEntry(CHAR * view, CHAR * aid, CHAR * rci, Vector * fapVect)
             Creates and adds a new Opr entry.
CHAR DeleteOprEntry(CHAR * view, CHAR * aid)
             deletes an operation entry.
CHAR EditOprEntry(CHAR * view, CHAR * aid, CHAR * rci, Vector *fapVect)
             Edits a operation entry details.
void FreeOprSecurityViewPtr(OperationParamSecurityView * oprParamSecuViewPtr)
             Frees OperationSecurityView block variable .
INT32 GetOprEntryStatus(CHAR * viewName, CHAR * aid)
             retreives status of a new opr .
Vector* GetOprEntryfapListVector(CHAR * viewName, CHAR * aid)
             retreives FAP vector for the given aid.
CHAR IsOperationViewAuthenticated(CHAR *rci, CHAR *field, CHAR *recId, CHAR *userID)
             It checks whether to allow the execution command or not by examining the Operation view entry.
CHAR IsOprEntryExists(CHAR * viewName, CHAR * aid)
             checks if opr entry exists.
CHAR IsOprViewExists(CHAR * viewName)
             checks if a view exists.
   
Method Details

AddDefaultOprEntry()

CHAR AddDefaultOprEntry()

Creates a default opr entry.

Arguments:
Nothing
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

CreateAndAddNewOprEntry()

CHAR CreateAndAddNewOprEntry(CHAR * view,CHAR * aid,CHAR * rci,Vector * fapVect)

Creates and adds a new Opr entry.

Arguments:
1. View name
2. rsrc Id
3. rci list
4. fap vector
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

DeleteOprEntry()

CHAR DeleteOprEntry(CHAR * view,CHAR * aid)

deletes an operation entry.

Arguments:
1. view
2. aid
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

EditOprEntry()

CHAR EditOprEntry(CHAR * view,CHAR * aid,CHAR * rci,Vector *fapVect)

Edits a operation entry details.

Arguments:
1. view
2. aid
3. rci
4. fap vector
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

FreeOprSecurityViewPtr()

void FreeOprSecurityViewPtr(OperationParamSecurityView * oprParamSecuViewPtr)

Frees OperationSecurityView block variable .

Arguments:
1. Reference to OperationSecurityView
Return type:
Nothing
Bugs:
null
See Also:

GetOprEntryStatus()

INT32 GetOprEntryStatus(CHAR * viewName,CHAR * aid)

retreives status of a new opr .

Arguments:
1. viewname
2. aid
Return type:
status of opr
Bugs:
null
See Also:

GetOprEntryfapListVector()

Vector* GetOprEntryfapListVector(CHAR * viewName,CHAR * aid)

retreives FAP vector for the given aid.

Arguments:
1. viewname
2. aid
Return type:
Reference to fap vector
Bugs:
null
See Also:

IsOperationViewAuthenticated()

CHAR IsOperationViewAuthenticated(CHAR*view,CHAR *rci,CHAR *field,CHAR *recId,CHAR *userID)

It checks whether to allow the execution command or not by examining the Operation view entry.

Arguments:
1.Operation view name(IN)
2.RCI name(IN)
3.Field Name(IN)
4.Record Identfier (AID)(IN)
5. User ID(IN)
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

IsOprEntryExists()

CHAR IsOprEntryExists(CHAR * viewName,CHAR * aid)

checks if opr entry exists.

Arguments:
1. view name
2. opr aid
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:

IsOprViewExists()

CHAR IsOprViewExists(CHAR * viewName)

checks if a view exists.

Arguments:
1. viewName
Return type:
SUCCESS/FAILURE
Bugs:
null
See Also:



OverView Index Help                                                                WebNMS Agent Toolkit C Edition 6 

Copyright (c) 2009 ZOHO Corp. All Rights Reserved.