Eyeon:Script/Reference/Applications/eyeonServer/Classes/Library/ModifyUser

From VFXPedia

< Eyeon:Script | Reference | Applications | eyeonServer | Classes | Library
Revision as of 12:34, 11 December 2006 by Peter (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

library : ModifyUser()

Arguments

ModifyUser(name, newdata)

  • string(required, String)

The name of the user you wish to modify.

  • newdata(required, table)

A table of information relating to a user.

Permissions(table) { Read, Admin, Delete, Create, Modify}

Read (boolean) : whether the user can read the bin Create (boolean) : whether they can create items. Modify (boolean) : whether they can modify items. Delete (boolean) : whether they can delete items. Admin (boolean) : whether they can be an administrator for the bin.

Password(string)

The user's password.

Returns

This function does not return a value.

Remarks

No Remarks.

Requirements

  • eyeonScript 5.01
  • Fusion 5.01

Examples

es = eyeonServer("localhost")
lib = es:OpenLibrary("Library", "Kane", "Rosebud")
lib:ModifyUser("Administrator", { Permissions = {Read = true, Admin = true, Delete = true, Create = true, Modify = true}, Password = "Rosebud"})


Tips for ModifyUser (edit)

EyeonTips:Script/Reference/Applications/eyeonServer/Classes/Library/ModifyUser