AuthenticationBaseSaveUserGroupMapping Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Builds the internal mappings between a Content Studio user and the registered groups where the user belongs. Inheriting classes call this method as a part of the authentication process.

Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

protected int SaveUserGroupMapping(
	ConnectionId connectionId,
	int userId,
	out int sessionId,
	SecurityIdentifier sId1,
	SecurityIdentifier sId2,
	SecurityIdentifier sId3,
	SecurityIdentifier sId4,
	SecurityIdentifier sId5,
	SecurityIdentifier sId6,
	SecurityIdentifier sId7,
	SecurityIdentifier sId8,
	SecurityIdentifier sId9,
	SecurityIdentifier sId10
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site.
userId
Type: SystemInt32
An integer identifying the user whose groups should be mapped. This value must have been retrieved from a call to the RegisterUser method
sessionId
Type: SystemInt32
After the call this parameter contains an identifier to the user's Content Studio session.
sId1
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member.
sId2
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId3
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId4
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId5
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId6
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId7
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId8
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId9
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.
sId10
Type: System.Security.PrincipalSecurityIdentifier
A SecurityIdentifier representing a group where the user is a member. This value can be null (Nothing in Visual Basic), if null all subsequent sids are ignored.

Return Value

Type: Int32
The number of mappings actually made
See Also

Reference