The requested page is not available for the requested platform. You are viewing the content for Default platform.

SecurityStrategy.GetSecuredTypes() Method

Returns a list of business classes that can be secured.

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v19.1.dll


public static IEnumerable<Type> GetSecuredTypes()
Public Shared Function GetSecuredTypes As IEnumerable(Of Type)


Type Description

An IEnumerable<Type> list of secured types.


By default, returns all persistent types (entries from the XafTypesInfo.Instance.PersistentTypes collection which have the ITypeInfo.IsPersistent property set to true) except for the XPObjectType and ModuleInfo types. You can add extra types (e.g., non-persistent types via the SecurityStrategy.AdditionalSecuredTypes list). To determine whether a particular type is secured, use the SecurityStrategy.IsSecuredType method.

See Also