Developer Function: Server Script: dept.GetMembers
## Overview
This method is used to get user information belonging to an organization in a "「Server Script」".
## Syntax
```
dept.GetMembers()
```
## Return Value
Return a list of "user objects".
## Usage Example
The following example outputs to the log the usernames of members of the department to which the logged-in user belongs.
##### JavaScript
```
let myDept = depts.Get(context.DeptId);
if (myDept) {
    const members = myDept.GetMembers();
    for (let member of members) {
        context.Log(`Name: ${member.Name}`);
    }
}
```
## Related Information
<div id="ManualList">
    <article class="s-blog_list_unit"><h2>
        <h2>The specified information was not found.</h2>
        <p><a href="/ja/manual">Return to top</a></p>
    </article>
</div><input id="SearchTextHidden" type="hidden" value="" />
                    