Chescks to see if a userbelongs to the given a Role

Namespace: White_Tiger.UserManagment
Assembly: White Tiger (in White Tiger.dll) Version: 0.1.3.5 (0.1.3.5)

Syntax

C#
public bool IsUserOnARole(
	string username,
	string password,
	string role
)
Visual Basic
Public Function IsUserOnARole ( 
	username As String,
	password As String,
	role As String
) As Boolean
Visual C++
public:
bool IsUserOnARole(
	String^ username, 
	String^ password, 
	String^ role
)

Parameters

username
Type: System..::..String
name of user
password
Type: System..::..String
password
role
Type: System..::..String
name of the role

Return Value

Type: Boolean
True if it belongs

See Also