SobekCM_Database.Save_User_Group Method
Sets some of the basic information and global permissions values for a single user group
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static int Save_User_Group(
int UserGroupID,
string GroupName,
string GroupDescription,
bool CanSubmit,
bool IsInternal,
bool CanEditAll,
bool IsSystemAdmin,
bool IsPortalAdmin,
bool IncludeTrackingStandardForms,
bool ClearMetadataTemplates,
bool ClearAggregationLinks,
bool ClearEditableLinks,
bool IsSobekDefault,
bool IsShibbolethDefault,
bool IsLdapDefault,
Custom_Tracer Tracer
) |
Parameters
- UserGroupID
- Type: System..::..Int32
Primary key for this user group from the database, or -1 for a new user group
- GroupName
- Type: System..::..String
Name of this user group
- GroupDescription
- Type: System..::..String
Basic description of this user group
- CanSubmit
- Type: System..::..Boolean
Flag indicates if this user group can submit items
- IsInternal
- Type: System..::..Boolean
Flag indicates if this user group is considered an 'internal user'
- CanEditAll
- Type: System..::..Boolean
Flag indicates if this user group is authorized to edit all items in the library
- IsSystemAdmin
- Type: System..::..Boolean
Flag indicates if this user group is a system Administrator
- IsPortalAdmin
- Type: System..::..Boolean
Flag indicated if this user group is a portal administrator
- IncludeTrackingStandardForms
- Type: System..::..Boolean
Should this user's settings include the tracking form portions?
- ClearMetadataTemplates
- Type: System..::..Boolean
Flag indicates whether to clear default metadata sets and templates for this user group
- ClearAggregationLinks
- Type: System..::..Boolean
Flag indicates whether to clear item aggregationPermissions linked to this user group
- ClearEditableLinks
- Type: System..::..Boolean
Flag indicates whether to clear the link between this user group and editable regex expressions
- IsSobekDefault
- Type: System..::..Boolean
- IsShibbolethDefault
- Type: System..::..Boolean
- IsLdapDefault
- Type: System..::..Boolean
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Int32 UserGroupId for a new user group, if this was to save a new one
Remarks
See Also