Sedona

sys::User


sys::Obj
  sys::Virtual
    sys::Component
      sys::User

public class User [niagaraIcon="module://icons/x16/user.png"]

User models a user account used for network authentication and authorization. Users are stored as children of the UserService. The user name is the component's name (limited to 7 chars).


ai

public static const define int ai

ar

public static const define int ar

aw

public static const define int aw

cred

public inline property Buf cred [config, max=20]

This is the credentials 160 bit SHA-1 digest of the UTF-8 string "username:password".

oi

public static const define int oi

or

public static const define int or

ow

public static const define int ow

perm

public property int perm [config]

Permissions mask which grant this user specific permissions in the four security groups. Each byte in the permission mask is a bitmask of the 7 permissions for groups 0 to 3.

prov

public property byte prov [config]

Permissions mask for provisioning.

provApp

public static const define int provApp

provKits

public static const define int provKits

provSvm

public static const define int provSvm

ua

public static const define int ua

canProv

public bool canProv(Str uri)

Can this user provisiong (read/write) the specified file.

has

public bool has(Component c, int hasPerm)

Return if this user has the specified permission on the given component.

permFor

public int permFor(Component c)

Return the permissions available .