ContentPermissionContext Methods |
The ContentPermissionContext type exposes the following members.
Name | Description | |
---|---|---|
AddEntry |
Adds a new entry.
| |
AddEntry(ContentPermissionContextEntryType) |
Adds a new entry.
| |
Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
DeleteEntry |
Deletes the specified entry.
| |
EnsureEntries |
Ensures that an entry exists for each permission and privilege, by state and globally.
| |
GetAllValues |
Gets the values of all entries.
| |
GetEntriesRelatedTo(Int32) |
Gets the entries related to a specified state.
| |
GetEntriesRelatedTo(OrgPermissionType, Int32) |
Gets the entries related to the specified permission type and state.
| |
GetEntry(Guid) |
Gets an entry by its GUID.
| |
GetEntry(Int32) |
Gets an entry by its id.
| |
GetEntry(String) |
Gets an entry by its name.
| |
GetEntryRelatedTo |
Gets the entries related to the specified privilege and state.
| |
GetGlobalEntries |
Gets the global entries (=not related to a state).
| |
GetGlobalEntriesRelatedTo |
Gets the global entries (=not related to a state) related to the specified permission type.
| |
GetGlobalEntryRelatedTo |
Gets the global entries (=not related to a state) related to the specified privilege.
| |
GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
GetName |
Gets the name.
(Inherited from ModelingObject.) | |
GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
HasStateSpecificPermissions |
Gets a value indicating whether the specified state has specific permissions in this context.
| |
ToString |
Returns the context's name.
(Overrides ObjectToString.) |
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.) |