This method returns true if the given username username has admin rights on the root element. This is normal way of creating a administrator in C1.

Namespace: Composite.C1Console.Security
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public static bool IsAdministrator(
	string username
)
Visual Basic
Public Shared Function IsAdministrator ( _
	username As String _
) As Boolean
Visual C++
public:
static bool IsAdministrator(
	String^ username
)

Parameters

username
Type: System..::..String
Username to test

Return Value

True if the given username has admin rights on the root element.

See Also