Createcontext, Createroletemplate – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual
Page 77
Brocade Virtual ADX XML API Programmer’s Guide
67
53-1003248-01
Methods
3
Parameters
contains the parameters required for the method.
Return values
Not applicable.
Error messages
createContext
Description
Creates one or more contexts on the system. This request takes array of contexts as input. If the
operation fails in the middle, it stops the operation and returns an error to the user.
Parameters
contains the parameters required for the method.
Return values
Not applicable.
Error messages
createRoleTemplate
Description
Creates one or more new role templates on the system with the given template parameters. If the
operation fails in the middle, the rollback is performed only for the failed operation.
Parameters
contains the parameters required for the method.
Return values
Not applicable.
TABLE 166
Parameters
Name
Type
Presence
Rules
Description
usernames
string[ ]
Mandatory
Identifies the usernames.
roleTemplateNames string
Mandatory
Identifies the role template names.
TABLE 167
Parameters
Name
Type
Presence
Rules
Description
context
string[ ]
Mandatory Maximum 32 characters
Identifies the context information to be retrieved.
TABLE 168
Parameters
Name
Type
Presence
Rules
Description
roleTemplates
[ ]
Optional
Identifies the role template data structure.