| PFPermissionContext_File Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Packflow.Core
 Syntax
Syntaxpublic class PFPermissionContext_File : PFPermissionContext<PFFile>
The PFPermissionContext_File type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ParentObject | 
            Gets the contextual object.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | Site | 
            Gets the contextual site.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | CanDelete | 
            Determines whether the current user can delete the object.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | CanDelete(PFUser) | 
            Determines whether the specified user can delete the object.
            (Inherited from PFPermissionContext.) | 
|  | CanRead | 
            Determines whether the current user can read/select the object.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | CanRead(PFUser) | 
            Determines whether the specified user can read/select the object.
            (Inherited from PFPermissionContext.) | 
|  | CanUpdate | 
            Determines whether the current user can update the object.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | CanUpdate(PFUser) | 
            Determines whether the specified user can update the object.
            (Inherited from PFPermissionContext.) | 
|  | GetMembershipProvider | 
            Gets a PFPrincipalSet containing the membership provider account.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | GetPrincipals_Delete | 
            Gets the list of principals authorized to delete the file.
            (Overrides PFPermissionContextGetPrincipals_Delete.) | 
|  | GetPrincipals_Read | 
            Gets the list of principals authorized to read/select the file.
            (Overrides PFPermissionContextGetPrincipals_Read.) | 
|  | GetPrincipals_Update | 
            Gets the list of principals authorized to update the file.
            (Overrides PFPermissionContextGetPrincipals_Update.) | 
|  | GetPrincipalSet | 
            Gets a principal set containing the specified users.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | GetSystemAdmin | 
            Gets a PFPrincipalSet containing the system admin account.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | GetSystemInstaller | 
            Gets a PFPrincipalSet containing the system installer account.
            (Inherited from PFPermissionContextTPFBaseObject.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | AsT | 
            Casts an object to another type. Returns default(T) if the object is null.
            (Defined by Utils_Other.) | 
|  | EqualsAll | 
            Checks that this object is equal to every object in parameters.
            (Defined by Utils_Other.) | 
|  | EqualsAny | 
            Checks that this object is equal to at least one of the parameters.
            (Defined by Utils_Other.) | 
|  | GetString | 
            Converts an object to String using ToString() method, else returns String.Empty.
            (Defined by Utils_Other.) | 
|  | IsGenericList | Overloaded. 
            Checks if this object is a System.Collections.Generic.List.
            (Defined by Utils_Linq.) | 
|  | IsGenericList(Type) | Overloaded. 
            Checks if this object is a System.Collections.Generic.List using type as T.
            (Defined by Utils_Linq.) | 
|  | Serialize | Overloaded. 
            Serializes an object into an XML document.
            (Defined by Utils_Xml.) | 
|  | Serialize(String) | Overloaded. 
            Serializes an object into an XML document.
            (Defined by Utils_Xml.) | 
|  | SerializeJson | Overloaded. 
            Serializes an object using a DataContractJsonSerializer.
            (Defined by Utils_String.) | 
|  | SerializeJson(ListType) | Overloaded. 
            Serializes an object using a DataContractJsonSerializer.
            (Defined by Utils_String.) | 
|  | SerializeJson(DataContractJsonSerializerSettings) | Overloaded. 
            Serializes an object using a DataContractJsonSerializer.
            (Defined by Utils_String.) | 
 See Also
See Also