Method | Description | |
---|---|---|
BreakItemPermission ( ClientContext clientContext, string listName, int listItemId, bool isCopyRoleAssignment ) : bool |
Validates and breaks the item level permission for the specified list item under the list/library.
|
|
BreakPermission ( ClientContext clientContext, string libraryName, bool isCopyRoleAssignment ) : bool |
Breaks the permissions of the list.
|
|
CheckUserSecurity ( ClientContext clientContext, |
||
FetchUserPermissionForLibrary ( ClientContext clientContext, string libraryname ) : IEnumerable |
||
GetData ( ClientContext clientContext, string listName, string camlQuery = null ) : ListItemCollection |
Gets the list items of specified list based on CAML query.
|
|
GetListProperties ( ClientContext clientContext, string libraryName ) : PropertyValues | ||
GetLoggedInUserDetails ( ClientContext clientContext ) : |
This method will return the user object who has currently logged into the system
|
|
GetMatterAssignedUsersEmail ( ClientContext clientContext, |
Converts the project users emails in a form that can be stamped to library.
|
|
GetMatterName ( ClientContext clientContext, string matterName ) : string | ||
GetUserPrincipal ( ClientContext clientContext, |
||
MatterAssociatedLists ( ClientContext clientContext, ReadOnlyCollection |
Function to check whether list is present or not.
|
|
RemoveSpecificUsers ( ClientContext clientContext, List |
Removes the users' permission from list or list item.
|
|
RetrieveItemId ( ClientContext clientContext, string libraryName, string originalMatterName ) : int | ||
SetItemPermission ( ClientContext clientContext, IList |
Set permission to the specified list item
|
|
SetPermission ( ClientContext clientContext, IList |
Sets permissions for the list.
|
|
SetPropertBagValuesForList ( ClientContext clientContext, PropertyValues props, string matterName, string>.Dictionary |
Sets the value of the specified property.
|
public BreakItemPermission ( ClientContext clientContext, string listName, int listItemId, bool isCopyRoleAssignment ) : bool | ||
clientContext | ClientContext | Client Context |
listName | string | List name |
listItemId | int | Unique list item id to break item level permission |
isCopyRoleAssignment | bool | Flag to copy permission from parent |
return | bool |
public static BreakPermission ( ClientContext clientContext, string libraryName, bool isCopyRoleAssignment ) : bool | ||
clientContext | ClientContext | Client context |
libraryName | string | Name of list |
isCopyRoleAssignment | bool | Flag to copy permission from parent |
return | bool |
public static CheckUserSecurity ( ClientContext clientContext, |
||
clientContext | ClientContext | |
matter | ||
userIds | IList |
|
return | Principal>>.List |
public static FetchUserPermissionForLibrary ( ClientContext clientContext, string libraryname ) : IEnumerable |
||
clientContext | ClientContext | |
libraryname | string | |
return | IEnumerable |
public static GetData ( ClientContext clientContext, string listName, string camlQuery = null ) : ListItemCollection | ||
clientContext | ClientContext | Client context |
listName | string | Name of the list |
camlQuery | string | CAML Query that need to be executed on list |
return | ListItemCollection |
public static GetListProperties ( ClientContext clientContext, string libraryName ) : PropertyValues | ||
clientContext | ClientContext | |
libraryName | string | |
return | PropertyValues |
public static GetLoggedInUserDetails ( ClientContext clientContext ) : |
||
clientContext | ClientContext | |
return |
public static GetMatterAssignedUsersEmail ( ClientContext clientContext, |
||
clientContext | ClientContext | ClientContext object |
matter | Matter object | |
return | string |
public static GetMatterName ( ClientContext clientContext, string matterName ) : string | ||
clientContext | ClientContext | |
matterName | string | |
return | string |
public static GetUserPrincipal ( ClientContext clientContext, |
||
clientContext | ClientContext | |
matter | ||
userIds | IList |
|
return | Principal>>.List |
public static MatterAssociatedLists ( ClientContext clientContext, ReadOnlyCollection |
||
clientContext | ClientContext | Client context object for SharePoint |
listsNames | ReadOnlyCollection |
List name |
return | List |
public static RemoveSpecificUsers ( ClientContext clientContext, List |
||
clientContext | ClientContext | ClientContext object |
usersToRemove | List |
List of users |
loggedInUserTitle | string | |
isListItem | bool | ListItem or list |
listName | string | |
matterLandingPageId | int | List item id |
return | void |
public static RetrieveItemId ( ClientContext clientContext, string libraryName, string originalMatterName ) : int | ||
clientContext | ClientContext | |
libraryName | string | |
originalMatterName | string | |
return | int |
public static SetItemPermission ( ClientContext clientContext, IList |
||
clientContext | ClientContext | Client context object |
assignUserName | IList |
Users to give permission |
listName | string | List name |
listItemId | int | Unique list item id to break item level permission |
permissions | IList |
Permissions for the users |
return | bool |
public static SetPermission ( ClientContext clientContext, IList |
||
clientContext | ClientContext | Client Context |
assignUserName | IList |
Users to give permission |
permissions | IList |
Permissions for the users |
listName | string | List name |
return | bool |
public static SetPropertBagValuesForList ( ClientContext clientContext, PropertyValues props, string matterName, string>.Dictionary |
||
clientContext | ClientContext | Client context |
props | PropertyValues | Property Bag |
matterName | string | Name of matter to which property is to be attached |
propertyList | string>.Dictionary | List of properties |
return | void |