Skip to main content
.NET Framework 4.6.2+

IsGrantedExtensions Methods

Extends the SecurityStrategy class with methods to check permissions.
Name Description
CanCreate(SecurityStrategy, Type, IObjectSpace) static Checks whether the current user can create objects of the specified type.
CanCreate<T>(SecurityStrategy, IObjectSpace) static Checks whether the current user can create objects of the specified type.
CanDelete(SecurityStrategy, Type, IObjectSpace, Object) static Checks whether the current user can delete an object with the specified key.
CanDelete(SecurityStrategy, Type, IObjectSpace) static Checks whether the current user can delete the specified object.
CanDelete<T>(SecurityStrategy, IObjectSpace, Object) static Checks whether the current user can delete an object with the specified key.
CanDelete<T>(SecurityStrategy, IObjectSpace) 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.
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.
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, IObjectSpace, 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, IObjectSpace, String) static Checks whether the current user can read objects of the specified type or their 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, IObjectSpace, 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, IObjectSpace, String) static Checks whether the current 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