.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SECURITY_GET_USER_SIDS" "9" "09 October 2005" "" ""
.SH NAME
security_get_user_sids \- Obtain reachable SIDs for a user.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int security_get_user_sids (u32 \fIfromsid\fB, char * \fIusername\fB, u32 ** \fIsids\fB, u32 * \fInel\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfromsid\fB\fR
starting SID
.TP
\fB\fIusername\fB\fR
username
.TP
\fB\fIsids\fB\fR
array of reachable SIDs for user
.TP
\fB\fInel\fB\fR
number of elements in \fIsids\fR
.SH "DESCRIPTION"
.PP
Generate the set of SIDs for legal security contexts
for a given user that can be reached by \fIfromsid\fR\&.
Set *\fIsids\fR to point to a dynamically allocated
array containing the set of SIDs. Set *\fInel\fR to the
number of elements in the array.