Click or drag to resize

PFPermissionContext_Item Class

Provides tools to evaluate the permissions of a PFItem.
Inheritance Hierarchy
SystemObject
  Packflow.CorePFPermissionContext
    Packflow.CorePFPermissionContextPFItem
      Packflow.CorePFPermissionContext_Item

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class PFPermissionContext_Item : PFPermissionContext<PFItem>

The PFPermissionContext_Item type exposes the following members.

Properties
Methods
  NameDescription
Public methodCanCreateComment
Determines whether the specified user can create a comment in the parent object.
Public methodCanCreateFile
Determines whether the specified user can create a file in the parent object.
Public methodCanDelete
Determines whether the current user can delete the object.
(Inherited from PFPermissionContextTPFBaseObject.)
Public methodCanDelete(PFUser)
Determines whether the specified user can delete the object.
(Inherited from PFPermissionContext.)
Public methodCanGotoAnyStep
Determines whether the specified user can change the current state of the item.
Public methodCanGotoNextStep
Determines whether the specified user can move the item to its next state.
Public methodCanRead
Determines whether the current user can read/select the object.
(Inherited from PFPermissionContextTPFBaseObject.)
Public methodCanRead(PFUser)
Determines whether the specified user can read/select the object.
(Inherited from PFPermissionContext.)
Public methodCanReassigntasks
Determines whether the specified user can reassign tasks of the item's workflow.
Public methodCanUpdate
Determines whether the current user can update the object.
(Inherited from PFPermissionContextTPFBaseObject.)
Public methodCanUpdate(PFUser)
Determines whether the specified user can update the object.
(Inherited from PFPermissionContext.)
Protected methodGetMembershipProvider
Gets a PFPrincipalSet containing the membership provider account.
(Inherited from PFPermissionContextTPFBaseObject.)
Public methodGetPrincipals_CreateComment
Gets the list of principals authorized to create a comment in the parent object.
Public methodGetPrincipals_CreateFile
Gets the list of principals authorized to create a file in the parent object.
Public methodGetPrincipals_CreateSubscription
Gets the list of principals authorized to create a subscription in the parent object.
Public methodGetPrincipals_Delete
Gets the list of principals authorized to delete the item.
(Overrides PFPermissionContextGetPrincipals_Delete.)
Public methodGetPrincipals_GotoAnyStep
Gets the list of principals authorized to change the current state of the item.
Public methodGetPrincipals_GotoNextStep
Gets the list of principals authorized to move the item to its next state.
Public methodGetPrincipals_Read
Gets the list of principals authorized to read/select the item.
(Overrides PFPermissionContextGetPrincipals_Read.)
Public methodGetPrincipals_Reassigntasks
Gets the list of principals authorized to reassign tasks of the item's workflow.
Public methodGetPrincipals_Update
Gets the list of principals authorized to update the item.
(Overrides PFPermissionContextGetPrincipals_Update.)
Protected methodGetPrincipalSet
Gets a principal set containing the specified users.
(Inherited from PFPermissionContextTPFBaseObject.)
Public methodStatic memberGetPrincipalsForPermission(OrgItemPermissionType, PFItem)
Gets the list of principals having the given permission for the specified item.
Public methodStatic memberGetPrincipalsForPermission(OrgItemPermissionType, PFContentType, PFItem)
Gets the list of principals having the given permission for the specified content.
Protected methodGetSystemAdmin
Gets a PFPrincipalSet containing the system admin account.
(Inherited from PFPermissionContextTPFBaseObject.)
Protected methodGetSystemInstaller
Gets a PFPrincipalSet containing the system installer account.
(Inherited from PFPermissionContextTPFBaseObject.)
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