KingsportMillSafetyTrainingDbContext..::..SetUserGroup Method

Sets the user role.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db (in MichaelBrandonMorris.KingsportMillSafetyTraining.Db.dll)

Syntax


public void SetUserGroup(
	string userId,
	Nullable<int> groupId
)
Public Sub SetUserGroup ( _
	userId As String, _
	groupId As Nullable(Of Integer) _
)
public:
void SetUserGroup(
	String^ userId, 
	Nullable<int^> groupId
)

Parameters

userId
Type: String
The user identifier.
groupId
Type: Nullable<(Of <(<'Int32>)>)>
The group identifier.