C# 클래스 Glyma.SharePoint.Security.GlymaSecurityService

상속: IGlymaSecurityService
파일 보기 프로젝트 열기: chris-tomich/Glyma

공개 메소드들

메소드 설명
BreakRootMapInheritance ( string webUrl, GlymaSecurableObject securableObject ) : ResponseObject
GetAllSecurityGroups ( string webUrl ) : GetAllSecurityGroupsResponse
GetIsUserGlymaSecurityManager ( string webUrl ) : GetIsUserGlymaSecurityManagerResponse
GetPermissionLevelForObject ( string webUrl, GlymaSecurableObject securableObject ) : GetPermissionLevelResponse

Gets the highest permission (role) name that the current user has if they have access to the object

GetPermissionNameForObject ( string webUrl, GlymaSecurableObject securableObject ) : GetPermissionNameResponse

Gets the highest permission (role) name that the current user has if they have access to the object

GetSecurableContextId ( string webUrl ) : GetSecurableContextIdResponse

Gets the security context id from the URL of the current site

GetSecurityAssociations ( string webUrl, IEnumerable groups, GlymaSecurableObject securableObject ) : GetSecurityAssociationsResponse

Gets the current security associations for a list of groups against a particular securable object

GetUsersPermissionLevel ( string webUrl ) : GetPermissionLevelResponse

Gets the highest permission level that a user has

GetUsersPermissionLevelName ( string webUrl ) : GetPermissionNameResponse

Gets the highest permission level that a user has

GlymaSecurityService ( ) : System
RestoreRootMapInheritance ( string webUrl, GlymaSecurableObject securableObject ) : GetSecurityAssociationsResponse
SetProjectManagerGroupAssociations ( string webUrl, GlymaSecurableObject securableObject ) : ResponseObject

This method is called by a Glyma Project Manager when they create a new project, it will associate any Glyma Project Manager group the user belongs to with the newly created project.

UpdateSecurityAssociations ( string webUrl, IList securityAssociations ) : ResponseObject

Adds or Removes security associations for a batch of groups.

메소드 상세

BreakRootMapInheritance() 공개 메소드

public BreakRootMapInheritance ( string webUrl, GlymaSecurableObject securableObject ) : ResponseObject
webUrl string
securableObject Glyma.Security.GlymaSecurableObject
리턴 Glyma.Security.ResponseObject

GetAllSecurityGroups() 공개 메소드

public GetAllSecurityGroups ( string webUrl ) : GetAllSecurityGroupsResponse
webUrl string
리턴 Glyma.Security.GetAllSecurityGroupsResponse

GetIsUserGlymaSecurityManager() 공개 메소드

public GetIsUserGlymaSecurityManager ( string webUrl ) : GetIsUserGlymaSecurityManagerResponse
webUrl string
리턴 Glyma.Security.GetIsUserGlymaSecurityManagerResponse

GetPermissionLevelForObject() 공개 메소드

Gets the highest permission (role) name that the current user has if they have access to the object
public GetPermissionLevelForObject ( string webUrl, GlymaSecurableObject securableObject ) : GetPermissionLevelResponse
webUrl string The URL for the SP site
securableObject Glyma.Security.GlymaSecurableObject An object that contains the Parent and Object ID's /// SecurableParentUid: The ID of the securable parent (Guid.Empty for projects), /// SecurableObjectUid: The ID of the securable object (root map UID or project UID if securing a project)
리턴 Glyma.Security.GetPermissionLevelResponse

GetPermissionNameForObject() 공개 메소드

Gets the highest permission (role) name that the current user has if they have access to the object
public GetPermissionNameForObject ( string webUrl, GlymaSecurableObject securableObject ) : GetPermissionNameResponse
webUrl string The URL for the SP site
securableObject Glyma.Security.GlymaSecurableObject An object that contains the Parent and Object ID's /// SecurableParentUid: The ID of the securable parent (Guid.Empty for projects), /// SecurableObjectUid: The ID of the securable object (root map UID or project UID if securing a project)
리턴 Glyma.Security.GetPermissionNameResponse

GetSecurableContextId() 공개 메소드

Gets the security context id from the URL of the current site
public GetSecurableContextId ( string webUrl ) : GetSecurableContextIdResponse
webUrl string The URL for the SP site
리턴 Glyma.Security.GetSecurableContextIdResponse

GetSecurityAssociations() 공개 메소드

Gets the current security associations for a list of groups against a particular securable object
public GetSecurityAssociations ( string webUrl, IEnumerable groups, GlymaSecurableObject securableObject ) : GetSecurityAssociationsResponse
webUrl string The URL for the SP site
groups IEnumerable A list of groups to get the security assocations for
securableObject Glyma.Security.GlymaSecurableObject An object that contains the Parent and Object ID's /// SecurableParentUid: The ID of the securable parent (Guid.Empty for projects), /// SecurableObjectUid: The ID of the securable object (root map UID or project UID if securing a project)
리턴 Glyma.Security.GetSecurityAssociationsResponse

GetUsersPermissionLevel() 공개 메소드

Gets the highest permission level that a user has
public GetUsersPermissionLevel ( string webUrl ) : GetPermissionLevelResponse
webUrl string
리턴 Glyma.Security.GetPermissionLevelResponse

GetUsersPermissionLevelName() 공개 메소드

Gets the highest permission level that a user has
public GetUsersPermissionLevelName ( string webUrl ) : GetPermissionNameResponse
webUrl string
리턴 Glyma.Security.GetPermissionNameResponse

GlymaSecurityService() 공개 메소드

public GlymaSecurityService ( ) : System
리턴 System

RestoreRootMapInheritance() 공개 메소드

public RestoreRootMapInheritance ( string webUrl, GlymaSecurableObject securableObject ) : GetSecurityAssociationsResponse
webUrl string
securableObject Glyma.Security.GlymaSecurableObject
리턴 Glyma.Security.GetSecurityAssociationsResponse

SetProjectManagerGroupAssociations() 공개 메소드

This method is called by a Glyma Project Manager when they create a new project, it will associate any Glyma Project Manager group the user belongs to with the newly created project.
public SetProjectManagerGroupAssociations ( string webUrl, GlymaSecurableObject securableObject ) : ResponseObject
webUrl string The URL for the SP site
securableObject Glyma.Security.GlymaSecurableObject Describes the project that was just added
리턴 Glyma.Security.ResponseObject

UpdateSecurityAssociations() 공개 메소드

Adds or Removes security associations for a batch of groups.
public UpdateSecurityAssociations ( string webUrl, IList securityAssociations ) : ResponseObject
webUrl string The URL for the SP site
securityAssociations IList The details of the group and the securable object and whether it's an add or remove operation
리턴 Glyma.Security.ResponseObject