IAdminGetAllFunctionRights Method |
Collection of all function rights. Each function right is a list item with an id and a name + description. The value('keyname') returns the unique string name of a function right
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxIListTextItems GetAllFunctionRights(
EnAssocRoleType roleType
)
Function GetAllFunctionRights (
roleType As EnAssocRoleType
) As IListTextItems
Dim instance As IAdmin
Dim roleType As EnAssocRoleType
Dim returnValue As IListTextItems
returnValue = instance.GetAllFunctionRights(roleType)
IListTextItems^ GetAllFunctionRights(
[InAttribute] EnAssocRoleType roleType
)
Parameters
- roleType
- Type: SuperOffice.COM.SuperOfficeDBEnAssocRoleType
Return Value
Type:
IListTextItems
ExamplesGet all function rights
Dim soDB
Set soDB = CreateObject("SuperOfficeDB.Database")
If not (soDB is nothing) Then
soDB.Login "USERID", "PASSWORD"
Set myFuncRights = soDB.Admin.GetAllFunctionRights(enRoleTypeEmployee)
For Each Item In myFuncRights
msg = msg & Item.Text & vbCrLf
Next
MsgBox msg
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also