IContentItemAllowUser Method
|
Checks whether the given user was granted the specified
access level.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax bool AllowUser(
IUser user,
EnumNodeLevelPermission security
)
Function AllowUser (
user As IUser,
security As EnumNodeLevelPermission
) As Boolean
bool AllowUser(
IUser^ user,
EnumNodeLevelPermission security
)
abstract AllowUser :
user : IUser *
security : EnumNodeLevelPermission -> bool
Parameters
- user
- Type: Ingeniux.CMSIUser
The user whose access level will be checked - security
- Type: Ingeniux.CMS.EnumsEnumNodeLevelPermission
The access level
Return Value
Type:
BooleanTrue if the
User has equal or higher access level, false if the user doesn't.
See Also