Click or drag to resize

PFPermissionContextTPFBaseObject Class

Provides tools to evaluate the permissions of a PFBaseObject.
Inheritance Hierarchy
SystemObject
  Packflow.CorePFPermissionContext
    Packflow.CorePFPermissionContextTPFBaseObject
      More...

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public abstract class PFPermissionContext<TPFBaseObject> : PFPermissionContext
where TPFBaseObject : PFBaseObject

Type Parameters

TPFBaseObject

The PFPermissionContextTPFBaseObject type exposes the following members.

Properties
  NameDescription
Public propertyParentObject
Gets the contextual object.
Public propertySite
Gets the contextual site.
Top
Methods
  NameDescription
Public methodCanDelete
Determines whether the current user can delete the object.
Public methodCanDelete(PFUser)
Determines whether the specified user can delete the object.
(Inherited from PFPermissionContext.)
Public methodCanRead
Determines whether the current user can read/select the object.
Public methodCanRead(PFUser)
Determines whether the specified user can read/select the object.
(Inherited from PFPermissionContext.)
Public methodCanUpdate
Determines whether the current user can update the object.
Public methodCanUpdate(PFUser)
Determines whether the specified user can update the object.
(Inherited from PFPermissionContext.)
Protected methodStatic memberGetEveryone
Gets a PFPrincipalSet representing everyone.
Protected methodGetMembershipProvider
Gets a PFPrincipalSet containing the membership provider account.
Public methodGetPrincipals_Delete
Gets the list of principals authorized to delete the object.
(Inherited from PFPermissionContext.)
Public methodGetPrincipals_Read
Gets the list of principals authorized to read/select the object.
(Inherited from PFPermissionContext.)
Public methodGetPrincipals_Update
Gets the list of principals authorized to update the object.
(Inherited from PFPermissionContext.)
Protected methodGetPrincipalSet
Gets a principal set containing the specified users.
Protected methodGetSystemAdmin
Gets a PFPrincipalSet containing the system admin account.
Protected methodGetSystemInstaller
Gets a PFPrincipalSet containing the system installer account.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also
Inheritance Hierarchy
SystemObject
  Packflow.CorePFPermissionContext
    Packflow.CorePFPermissionContextTPFBaseObject
      Packflow.CorePFPermissionContext_ActivityLog
      Packflow.CorePFPermissionContext_Application
      Packflow.CorePFPermissionContext_ApplicationContext
      Packflow.CorePFPermissionContext_ContentType
      Packflow.CorePFPermissionContext_Dashboard
      Packflow.CorePFPermissionContext_ExternalConnection
      Packflow.CorePFPermissionContext_Field
      Packflow.CorePFPermissionContext_File
      Packflow.CorePFPermissionContext_Group
      Packflow.CorePFPermissionContext_Item
      Packflow.CorePFPermissionContext_ItemComment
      Packflow.CorePFPermissionContext_ItemEvent
      Packflow.CorePFPermissionContext_ItemRelation
      Packflow.CorePFPermissionContext_ItemSubscription
      Packflow.CorePFPermissionContext_LogEntry
      Packflow.CorePFPermissionContext_ObjectLock
      Packflow.CorePFPermissionContext_OrganisationalType
      Packflow.CorePFPermissionContext_PerformanceEntry
      Packflow.CorePFPermissionContext_PerformanceReport
      Packflow.CorePFPermissionContext_Site
      Packflow.CorePFPermissionContext_StoredProcedure
      Packflow.CorePFPermissionContext_SubView
      Packflow.CorePFPermissionContext_Theme
      Packflow.CorePFPermissionContext_User
      Packflow.CorePFPermissionContext_UserIdentity
      Packflow.CorePFPermissionContext_UserNavigationEntry
      Packflow.CorePFPermissionContext_UserNotification
      Packflow.CorePFPermissionContext_View