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.SecurityAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
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
) |
Return Value
True if the given username has admin rights on the root element.
See Also