GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Fifteen — Windows/OS Functions (continued)
Overview
The IsUserInGroup function tests a user as being part of a specific group.
Syntax/Parameters
Syntax
boolean = IsUserInGroup ( string group, [string user], [string password] );
Parameters
group
A string specifying a system or administrator defined group name.
user
An optional string specifying the user name. If omitted, the current user is used.
password
An optional string specifying the password for the user. See Remarks below for notes on security.
Return Value
Returns a boolean value as TRUE or FALSE depending on whether the user is a member of the specified group. If an error occurs, the function returns FALSE, so the IsError must be used to determine if the function succeeded. Use the GetLastError function to retrieve error information.
Remarks
Programs should not store user passwords without encryption, if they are stored at all. It is not necessary have the credentials for the current users to test group membership;
Proper security precautions should be employed when storing and using passwords. This function abides by the Secure Memory Model.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.