[This is preliminary documentation and is subject to change.]
Gets the security objects defined for the role. This method does not return all the roles,
it only return those roles that are present in the system.
Namespace:
OfficeClip.DBLayer.SecurityAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public SecurityObject[] GetSecurityObjectsRoles( int groupId, int roleId, BusinessConstants..::.ObjectType oType, int objectId, int currentUserId ) |
Visual Basic (Declaration) |
---|
Public Function GetSecurityObjectsRoles ( _ groupId As Integer, _ roleId As Integer, _ oType As BusinessConstants..::.ObjectType, _ objectId As Integer, _ currentUserId As Integer _ ) As SecurityObject() |
Visual C++ |
---|
public: array<SecurityObject^>^ GetSecurityObjectsRoles( int groupId, int roleId, BusinessConstants..::.ObjectType oType, int objectId, int currentUserId ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id of the group, the value of -1 gets information for all the groups
- roleId
- Type: System..::.Int32
The unique id of the role
- oType
- Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.ObjectType
The object type
- objectId
- Type: System..::.Int32
The object id
- currentUserId
- Type: System..::.Int32
The unique id of the current user