Skip to main content
.NET Framework 4.5.2+

IsGrantedExtensions Members

Extends the SecurityStrategy class with methods to check permissions.

Methods

Name Description
CanCreate(SecurityStrategy, Type) static Checks whether the current user can create objects of the specified type.
CanCreate<T>(SecurityStrategy) static Checks whether the current user can create objects of the specified type.
CanCreateByRole(SecurityStrategy, IPermissionPolicyRole, Type) static Checks whether the specified role allows creating objects of the specified type.
CanCreateByRole<T>(SecurityStrategy, IPermissionPolicyRole) static Checks whether the specified role allows creating objects of the specified type.
CanCreateByUser(SecurityStrategy, IPermissionPolicyUser, Type) static Checks whether the specified user can create objects of the specified type.
CanCreateByUser<T>(SecurityStrategy, IPermissionPolicyUser) static Checks whether the specified user can create objects of the specified type.
CanDelete(SecurityStrategy, IObjectSpace, Object) static For internal use.
CanDelete(SecurityStrategy, Object) static Checks whether the current user can delete the specified object.
CanDelete(SecurityStrategy, Type, IObjectSpace, Object) static Checks whether the current user can delete an object with the specified key.
CanDelete(SecurityStrategy, Type, Object) static For internal use.
CanDelete(SecurityStrategy, Type) static Checks whether the current user can delete objects of the specified type.
CanDelete<T>(SecurityStrategy, IObjectSpace, Object) static Checks whether the current user can delete an object with the specified key.
CanDelete<T>(SecurityStrategy, Object) static For internal use.
CanDelete<T>(SecurityStrategy) static Checks whether the current user can delete objects of the specified type.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object) static For internal use.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Object) static Checks whether the specified role allows deleting the specified object.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Type, IObjectSpace, Object) static Checks whether the specified role allows deleting an object with the specified key.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Type, Object) static For internal use.
CanDeleteByRole(SecurityStrategy, IPermissionPolicyRole, Type) static Checks whether the specified role allows deleting objects of the specified type.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object) static Checks whether the specified role allows deleting an object with the specified key.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole, Object) static For internal use.
CanDeleteByRole<T>(SecurityStrategy, IPermissionPolicyRole) static Checks whether the specified role allows deleting objects of the specified type.
CanDeleteByUser(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object) static For internal use.
CanDeleteByUser(SecurityStrategy, IPermissionPolicyUser, Object) static Checks whether the specified user can delete the specified object.
CanDeleteByUser(SecurityStrategy, IPermissionPolicyUser, Type, IObjectSpace, Object) static Checks whether the specified user can delete the object with the specified key.
CanDeleteByUser(SecurityStrategy, IPermissionPolicyUser, Type, Object) static For internal use.
CanDeleteByUser(SecurityStrategy, IPermissionPolicyUser, Type) static Checks whether the specified user can delete objects of the specified type.
CanDeleteByUser<T>(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object) static Checks whether the specified user can delete the object with the specified key.
CanDeleteByUser<T>(SecurityStrategy, IPermissionPolicyUser, Object) static For internal use.
CanDeleteByUser<T>(SecurityStrategy, IPermissionPolicyUser) static Checks whether the current user can delete objects of the specified type.
CanExecute(SecurityStrategy, String) static Checks whether the current user can execute the specified Action.
CanExecuteByRole(SecurityStrategy, IPermissionPolicyRole, String) static Checks whether the specified role allows executing the specified Action.
CanExecuteByUser(SecurityStrategy, IPermissionPolicyUser, String) static Checks whether the specified user can execute the specified Action.
CanNavigate(SecurityStrategy, String, Object) static Gets the target object’s type and checks whether the current user has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigate(SecurityStrategy, String, Type, Object) static Checks whether the current user can navigate to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigate(SecurityStrategy, String, Type) static Checks whether the current user has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigate(SecurityStrategy, String) static Checks whether the current user can navigate to the specified item.
CanNavigate<T>(SecurityStrategy, String, Object) static Checks whether the current user can navigate to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigate<T>(SecurityStrategy, String) static Checks whether the current user has a corresponding type permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String, Object) static Gets the target object’s type and checks whether the specified role has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String, Type, Object) static Checks whether the specified role allows navigation to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String, Type) static Checks whether the specified role allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole(SecurityStrategy, IPermissionPolicyRole, String) static Checks whether the specified role allows navigation to the specified item.
CanNavigateByRole<T>(SecurityStrategy, IPermissionPolicyRole, String, Object) static Checks whether the specified role allows navigation to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByRole<T>(SecurityStrategy, IPermissionPolicyRole, String) static Checks whether the specified role has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByUser(SecurityStrategy, IPermissionPolicyUser, String, Object) static Gets the target object’s type and checks whether the specified user has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByUser(SecurityStrategy, IPermissionPolicyUser, String, Type, Object) static Checks whether the specified user can navigate to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByUser(SecurityStrategy, IPermissionPolicyUser, String, Type) static Checks whether the specified user has a permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByUser(SecurityStrategy, IPermissionPolicyUser, String) static Checks whether the specified user can navigate to the specified item.
CanNavigateByUser<T>(SecurityStrategy, IPermissionPolicyUser, String, Object) static Checks whether the specified user can navigate to an object with the specified key. Do not use this method with the Allow/Deny Permission Policy.
CanNavigateByUser<T>(SecurityStrategy, IPermissionPolicyUser, String) static Checks whether the specified user has a corresponding permission that allows navigation to the specified item. Do not use this method with the Allow/Deny Permission Policy.
CanRead(SecurityStrategy, IObjectSpace, Object, String) static For internal use.
CanRead(SecurityStrategy, Object, String) static Checks whether the current user can read the specified object or its member.
CanRead(SecurityStrategy, Type, IObjectSpace, Object, String) static Checks whether the current user can read an object with the specified key or this object’s member.
CanRead(SecurityStrategy, Type, Object, String) static For internal use.
CanRead(SecurityStrategy, Type, String) static Checks whether the current user can read objects of the specified type or their member.
CanRead<T>(SecurityStrategy, IObjectSpace, Object, String) static Checks whether the current user can read an object with the specified key or this object’s member.
CanRead<T>(SecurityStrategy, Object, String) static For internal use.
CanRead<T>(SecurityStrategy, String) static Checks whether the current user can read objects of the specified type or their member.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object, String) static For internal use.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Object, String) static Checks whether the specified role allows reading the specified object or this object’s member.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Type, IObjectSpace, Object, String) static Checks whether the specified role allows reading an object with the specified key or this object’s member.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Type, Object, String) static For internal use.
CanReadByRole(SecurityStrategy, IPermissionPolicyRole, Type, String) static Checks whether the specified role allows reading objects of the specified type or these objects’ members.
CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object, String) static Checks whether the specified role allows reading an object with the specified key or this object’s member.
CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, Object, String) static For internal use.
CanReadByRole<T>(SecurityStrategy, IPermissionPolicyRole, String) static Checks whether the specified role allows reading objects of the specified type or their member.
CanReadByUser(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object, String) static For internal use.
CanReadByUser(SecurityStrategy, IPermissionPolicyUser, Object, String) static Checks whether the specified user can read the specified object or its member.
CanReadByUser(SecurityStrategy, IPermissionPolicyUser, Type, IObjectSpace, Object, String) static Checks whether the specified user can read an object with the specified key or this object’s member.
CanReadByUser(SecurityStrategy, IPermissionPolicyUser, Type, Object, String) static For internal use.
CanReadByUser(SecurityStrategy, IPermissionPolicyUser, Type, String) static Checks whether the specified user can read objects of the specified type or their member.
CanReadByUser<T>(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object, String) static Checks whether the specified user can read an object with the specified key or this object’s member.
CanReadByUser<T>(SecurityStrategy, IPermissionPolicyUser, Object, String) static For internal use.
CanReadByUser<T>(SecurityStrategy, IPermissionPolicyUser, String) static Checks whether the specified user can read objects of the specified type or their member.
CanWrite(SecurityStrategy, IObjectSpace, Object, String) static For internal use.
CanWrite(SecurityStrategy, Object, String) static Checks whether the current user can write the specified object or its member.
CanWrite(SecurityStrategy, Type, IObjectSpace, Object, String) static Checks whether the current user can write an object with the specified key or this object’s member.
CanWrite(SecurityStrategy, Type, Object, String) static For internal use.
CanWrite(SecurityStrategy, Type, String) static Checks whether the current user can write objects of the specified type or their member.
CanWrite<T>(SecurityStrategy, IObjectSpace, Object, String) static Checks whether the current user can write an object with the specified key or this object’s member.
CanWrite<T>(SecurityStrategy, Object, String) static For internal use.
CanWrite<T>(SecurityStrategy, String) static Checks whether the current user can write objects of the specified type or their member.
CanWriteByRole(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object, String) static For internal use.
CanWriteByRole(SecurityStrategy, IPermissionPolicyRole, Object, String) static Checks whether the specified role allows writing the specified object or this object’s member.
CanWriteByRole(SecurityStrategy, IPermissionPolicyRole, Type, IObjectSpace, Object, String) static Checks whether the specified role allows writing an object with the specified key or this object’s member.
CanWriteByRole(SecurityStrategy, IPermissionPolicyRole, Type, Object, String) static For internal use.
CanWriteByRole(SecurityStrategy, IPermissionPolicyRole, Type, String) static Checks whether the current user can write objects of the specified type or their member.
CanWriteByRole<T>(SecurityStrategy, IPermissionPolicyRole, IObjectSpace, Object, String) static Checks whether the specified role allows writing an object with the specified key or this object’s member.
CanWriteByRole<T>(SecurityStrategy, IPermissionPolicyRole, Object, String) static For internal use.
CanWriteByRole<T>(SecurityStrategy, IPermissionPolicyRole, String) static Checks whether the specified role allows writing objects of the specified type or their member.
CanWriteByUser(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object, String) static For internal use.
CanWriteByUser(SecurityStrategy, IPermissionPolicyUser, Object, String) static Checks whether the specified user can write the specified object or its member.
CanWriteByUser(SecurityStrategy, IPermissionPolicyUser, Type, IObjectSpace, Object, String) static Checks whether the specified user can write an object with the specified key or this object’s member.
CanWriteByUser(SecurityStrategy, IPermissionPolicyUser, Type, Object, String) static For internal use.
CanWriteByUser(SecurityStrategy, IPermissionPolicyUser, Type, String) static Checks whether the specified user can write objects of the specified type or their member.
CanWriteByUser<T>(SecurityStrategy, IPermissionPolicyUser, IObjectSpace, Object, String) static Checks whether the specified user can write an object with the specified key or this object’s member.
CanWriteByUser<T>(SecurityStrategy, IPermissionPolicyUser, Object, String) static For internal use.
CanWriteByUser<T>(SecurityStrategy, IPermissionPolicyUser, String) static Checks whether the specified user can write objects of the specified type or their member.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also