C# Class Glyma.SharePoint.Security.GlymaSecurityGroupCollection

Exibir arquivo Open project: chris-tomich/Glyma Class Usage Examples

Private Properties

Property Type Description
ExistsInHigherPermissionLevel bool
FilterGroups IList>.IDictionary
GetGroupsPermissionLevel GlymaPermissionLevel

Public Methods

Method Description
GetUsersGroups ( SPWeb web, SPUser currentUser ) : IList
GlymaSecurityGroupCollection ( SecurityContextManager context, IDictionary groups ) : Microsoft.SharePoint

Private Methods

Method Description
ExistsInHigherPermissionLevel ( GlymaSecurityGroup group, GlymaPermissionLevel currentPermissionLevel ) : bool

Checks if the the group appears in a higher permission level

FilterGroups ( ) : IList>.IDictionary

Filters the GlymaSPSecurityGroup dictionary so that groups only return for the highest permission level they've been granted.

GetGroupsPermissionLevel ( GlymaSecurityGroup glGroup ) : GlymaPermissionLevel

Method Details

GetUsersGroups() public method

public GetUsersGroups ( SPWeb web, SPUser currentUser ) : IList
web SPWeb
currentUser SPUser
return IList

GlymaSecurityGroupCollection() public method

public GlymaSecurityGroupCollection ( SecurityContextManager context, IDictionary groups ) : Microsoft.SharePoint
context SecurityContextManager
groups IDictionary
return Microsoft.SharePoint