| RecroSecGetPermissionsForUser Method (String, String, String, Object, NullableInt32) |
Gets the permissions for the specified User.
Namespace:
Recrovit.RecroGridFramework.Security
Assembly:
Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 2.6.0
Syntax public static UserPermissions GetPermissionsForUser(
string userId,
string objectName,
string objectKey = null,
Object target = null,
Nullable<int> objectPermissionId = null
)
Parameters
- userId
- Type: SystemString
The User identifier. - objectName
- Type: SystemString
Object name from object permission. - objectKey (Optional)
- Type: SystemString
Key of the data object. - target (Optional)
- Type: SystemObject
Target data object. - objectPermissionId (Optional)
- Type: SystemNullableInt32
Hint object permission id.
Return Value
Type:
UserPermissionsThe permissions.
See Also